import http from '@/common/api/http'

export function getServiceProviders(params = {}) {
    return http.get("/service/getServiceList", {
        params
    })
}

export function getServiceProviderOptions(params) {
    return http.get("/service/getServiceContentList", {
        params,
        ...params
    })
}

export function getServiceProviderInfo(params) {
    return http.get("/service/detail", {
        params
    })
}

// 获取服务案例
export function getServiceCase() {
    return http.get("/getServiceCase")
}

// 获取公众号文章
export function getArticleList(params) {
    return http.get("/getArticleList", {
        params,
        ...params
    })
}

// 获取公众号文章
export function officialArticleReadnum(params) {
    return http.get("/officialArticleReadnum", {
        params,
        ...params
    })
}